package com.clusterswisdom.horn.control.process;

import java.util.HashMap;
import java.util.Map;

public class ProcessFactory {

	public static ProcessFactory factory = new ProcessFactory();
	
	private Map<String, Processor> processorMap = new HashMap<String, Processor>();
	
	public static ProcessFactory getFactory() {
		return factory;
	}
	
	private ProcessFactory() {
		processorMap.put("set", new InvokeProcess());
		processorMap.put("achieve", new AchieveProcess());
		processorMap.put("push", new PushProcess());
	}
}